COMMAND east
AtLocation 2 [end of road]
FlagON 4 [wellie door]
GoToRoom 7 [wellie house]
DoneWithTurn
END_COMMAND

COMMAND east
AtLocation 2 [end of road]
FlagOFF 4 [wellie door]
PrintMessage 500 "The door of the small brick b..."
DoneWithTurn
END_COMMAND

COMMAND insert penny in slot
AtLocation 2 [end of road]
TurnFlagON 4 [wellie door]
SendToRoom 502 6 [bull2] [gully]
Destroy 307 [penny]
OpenIt 300 [building door]
PrintMessage 499 "The door swings open."
DoneWithTurn
END_COMMAND

COMMAND KISS TRIXIE
PrintMessage 498 "MMMMMMMMMMMMMMMM"
PrintMessage 1 [disrespect]
AddToVariable 5 1 [blackmark]
VariableGT 5 15 [blackmark] [max blackmarks]
PrintMessage 2 [max black marks]
WaitForReturn
PrintMessage 3 [dragon eats]
KillPlayer
DoneWithTurn
END_COMMAND

COMMAND KISS TRIXIE
NOT VariableGT 5 15 [blackmark] [max blackmarks]
DoneWithTurn
END_COMMAND

COMMAND CENSORED
PrintMessage 497 "KRIKKK!!!!"
BlankLine
PrintMessage 4 [break arm]
BlankLine
EndGame
DoneWithTurn
END_COMMAND

COMMAND examine keys
FlagON 6 [part2]
Present 301 [keys]
NounIsNumber 301 [keys]
PrintMessage 496 "They are a completely useless..."
DoneWithTurn
END_COMMAND

COMMAND eat food
Present 302 [food]
Destroy 302 [food]
PrintMessage 5 [Now you should know better than that.]
KillPlayer
DoneWithTurn
END_COMMAND

COMMAND GET WATER IN BOTTLE
ReDirectTo FILL BOTTLE
END_COMMAND

COMMAND FILL BOTTLE
FlagOFF 6 [part2]
IsCarrying 303 [bottle]
AtLocation 2 [end of road]
OR
FlagOFF 6 [part2]
IsCarrying 303 [bottle]
AtLocation 6 [gully]
OR
FlagOFF 6 [part2]
IsCarrying 303 [bottle]
AtLocation 8 [slit in rock]
SwapLocations 303 304 [bottle] [bottle of water]
PrintMessage 70 [ok]
DoneWithTurn
END_COMMAND

COMMAND FILL BOTTLE
FlagON 6 [part2]
IsCarrying 303 [bottle]
AtLocation 82 [e. pit]
OR
FlagON 6 [part2]
IsCarrying 303 [bottle]
AtLocation 88 [magnificant cavern]
SwapLocations 303 304 [bottle] [bottle of water]
PrintMessage 70 [ok]
DoneWithTurn
END_COMMAND

COMMAND drink water
Present 304 [bottle of water]
SwapLocations 304 303 [bottle of water] [bottle]
PrintMessage 6 [water taste]
DoneWithTurn
END_COMMAND

COMMAND drink water
AtLocation 2 [end of road]
or
AtLocation 6 [gully]
or
AtLocation 8 [slit in rock]
or
AtLocation 82 [e. pit]
or
AtLocation 88 [magnificant cavern]
PrintMessage 6 [water taste]
DoneWithTurn
END_COMMAND

COMMAND south
AtLocation 6 [gully]
NOT Present 501 [bull]
NOT Present 502 [bull2]
NOT IsWearing 314 [wellies]
PrintMessage 7 [too wet]
DoneWithTurn
END_COMMAND

COMMAND south
AtLocation 6 [gully]
IsWearing 314 [wellies]
Present 501 [bull]
or
AtLocation 6 [gully]
IsWearing 314 [wellies]
Present 502 [bull2]
PrintMessage 495 "The bull won't let you."
DoneWithTurn
END_COMMAND

COMMAND any
AtLocation 6 [gully]
InRoom 501 [bull]
Chance 50
PrintMessage 494 "The bull roars out: "Are you ..."
TurnFlagON 5 [bull flag]
PromptForNo
PrintMessage 8 [gullible]
Destroy 501 [bull]
TurnFlagOFF 5 [bull flag]
PutInCurrentRoom 307 [penny]
DescribeThing 307 [penny]
QuitThisCMD
END_COMMAND

COMMAND any
AtLocation 6 [gully]
FlagON 5 [bull flag]
TurnFlagOFF 5 [bull flag]
PrintMessage 493 "WELL, GO AWAY!"
QuitThisCMD
END_COMMAND

COMMAND drop bomb
InRoom 502 [bull2]
IsCarrying 309 [bomb]
PrintMessage 9 [abominible]
Destroy 502 [bull2]
Destroy 309 [bomb]
ChangePassageway 2 8 [s] [slit in rock]
DoneWithTurn
END_COMMAND

COMMAND drop BOMB
NOT InRoom 502 [BULL2]
IsCarrying 309 [bomb]
PrintMessage 492 "B O O O O M M M ! ! !"
Destroy 309 [bomb]
KillPlayer
DoneWithTurn
END_COMMAND

COMMAND throw bomb
ReDirectTo DROP BOMB
END_COMMAND

COMMAND examine spring
FlagOFF 6 [part2]
PrintMessage  491 "BOOOOIIIIINNNNGGGGGG!"
GoToRoom 2 [end of road]
DoneWithTurn
END_COMMAND

COMMAND west
AtLocation 7 [wellie house]
FlagOFF 6 [part2]
PrintMessage 13 [try wellie door]
DoneWithTurn
END_COMMAND

COMMAND kick door
AtLocation 7 [wellie house]
AddToVariable 6 1 [door kick]
VariableEquals 6 1 [door kick]
PrintMessage 10 [kick door1]
DoneWithTurn
END_COMMAND

COMMAND kick door
AtLocation 7 [wellie house]
VariableEquals 6 2 [door kick]
PrintMessage 11 [kick door2]
DoneWithTurn
END_COMMAND

COMMAND kick door
AtLocation 7 [wellie house]
VariableEquals 6 3 [door kick]
PrintMessage 12 [kick door3]
KillPlayer
DoneWithTurn
END_COMMAND

COMMAND open grate
Present 312 [locked grate]
Present 301 [keys]
SwapLocations 312 313 [locked grate] [unlocked grate]
ChangePassageway 10 10 [d] [grate chamber]
DoneWithTurn
END_COMMAND

COMMAND close grate
Present 313 [unlocked grate]
Present 301 [keys]
SwapLocations 312 313 [locked grate] [unlocked grate]
ChangePassageway 0 10 [closed] [grate chamber]
DoneWithTurn
END_COMMAND

COMMAND unlock grate
RedirectTo OPEN GRATE
END_COMMAND

COMMAND lock grate
RedirectTo CLOSE GRATE
END_COMMAND

COMMAND down
AtLocation 9 [grate location]
FlagOFF 7 [in cave]
Present 313 [unlocked grate]
TurnFlagON 7 [in cave]
PrintMessage 490 "Yippee! Now we're getting to ..."
WaitForReturn
QuitThisCMD
DoneWithTurn
END_COMMAND

COMMAND CLONES
AtLocation 12 [debris room]
PrintMessage 14 [move magically]
GoToRoom 7 [wellie house]
DoneWithTurn
END_COMMAND

COMMAND CLONES
FlagON 7 [in cave]
FlagOFF 6 [part2]
AtLocation 7 [wellie house]
PrintMessage 14 [move magically]
GoToRoom 12 [debris room]
DoneWithTurn
END_COMMAND

COMMAND CLONES
FlagOFF 7 [in cave]
FlagOFF 6 [part2]
AtLocation 7 [wellie house]
PrintMessage 15 [NOTHING HAPPENS]
DoneWithTurn
END_COMMAND

COMMAND CLONES
FlagOFF 6 [part2]
NOT AtLocation 12 [debris room]
NOT AtLocation 7 [wellie house]
PrintMessage 15 [nothing happens]
DoneWithTurn
END_COMMAND

COMMAND DIRT
FlagON 6 [part2]
AtLocation 7 [wellie house]
PrintMessage 14 [move magically]
GoToRoom 75 [dead end]
DoneWithTurn
END_COMMAND

COMMAND DIRT
FlagON 6 [part2]
AtLocation 75 [dead end]
PrintMessage 14 [move magically]
GoToRoom 7 [wellie house]
DoneWithTurn
END_COMMAND

COMMAND DIRT
FlagON 6 [part2]
NOT AtLocation 75 [dead end]
NOT AtLocation 7 [wellie house]
PrintMessage 15 [nothing happens]
DoneWithTurn
END_COMMAND

COMMAND ANY
RoomNeedsLight
LightPresent
CounterGT 4 0 [dark counter]
TurnCounterOFF 4 [dark counter]
QuitThisCMD
END_COMMAND

COMMAND ANY
NOT RoomNeedsLight
CounterGT 4 0 [dark counter]
TurnCounterOFF 4 [dark counter]
QuitThisCMD
END_COMMAND

COMMAND ANY
RoomNeedsLight
NOT LightPresent
CounterEquals 4 0 [dark counter]
TurnCounterON 4 [dark counter]
PrintMessage 489 "It's dark here. You might fal..."
QuitThisCMD
END_COMMAND

COMMAND ANY
CounterGT 4 0 [dark counter]
CounterGT 4 5 [dark counter] [max dark]
PrintMessage 488 "Sploosh"
KillPlayer
DoneWithTurn
END_COMMAND

COMMAND GET ANY
Present 503 [fence]
NOUNpointsGT 0
PrintMessage 487 "He says: "No way, chappie!  O..."
DoneWithTurn
END_COMMAND

COMMAND DROP ANY
Present 503 [fence]
NOUNpointsGT 0
DropNOUN
PrintMessage 486 "The fence examines it closely..."
RandomMessage 16 21 [fence mess1] [fence mess6]
DoneWithTurn
END_COMMAND

COMMAND WEST
AtLocation 8 [slit in rock]
DescribeThing 311 [bog]
DoneWithTurn
END_COMMAND

COMMAND ANY
AtLocation 13 [e/w canyon]
NOT Present 318 [zx81]
Chance 30
PutInCurrentRoom 318 [zx81]
WaitForReturn
PrintMessage 22 [zx81 mess]
DescribeThing 318 [zx81]
QuitThisCMD
END_COMMAND

COMMAND EAT WALL
AtLocation 14 [pillar room]
PrintMessage 23 [eat sorbet wall]
DoneWithTurn
END_COMMAND

COMMAND SPIT ANY
PrintMessage 1 [disrespect]
AddToVariable 5 1 [blackmark]
VariableGT 5 15 [blackmark] [max blackmarks]
PrintMessage 2 [max black marks]
WaitForReturn
PrintMessage 3 [dragon eats]
KillPlayer
DoneWithTurn
END_COMMAND

COMMAND PUT ANY IN PILLAR
PrintMessage 485 "Oops. The mouse ate it."
TurnFlagON 8 [put in pillar]
DestroyNOUN
NOUNpointsEquals 0
PrintMessage 484 "Apparently he eats anything."
TurnFlagOFF 8 [put in pillar]
DoneWithTurn
END_COMMAND

COMMAND PUT ANY IN PILLAR
FlagON 8 [put in pillar]
TurnFlagOFF 8 [put in pillar]
DoneWithTurn
END_COMMAND

COMMAND ANY
NOT IsCarrying 316 [black rod]
InRoom 504 [bird]
FlagOFF 9 [rod message]
PrintMessage 24 [no rod]
TurnFlagON 9 [rod message]
QuitThisCMD
END_COMMAND

COMMAND GET BIRD
InRoom 504 [bird]
PrintMessage 483 "RRRRRAAAAZZZZZZZZZZZZZZZZZ!!"
DoneWithTurn
END_COMMAND

COMMAND WAVE ROD
IsCarrying 316 [black rod]
AtLocation 18 [e. side fissure]
or
IsCarrying 316 [black rod]
AtLocation 30 [w. side fissure]
PrintMessage 25 [Tony Bridge]
DoneWithTurn
END_COMMAND

COMMAND WAVE ROD
IsCarrying 316 [black rod]
NOT AtLocation 18 [e. side fissure]
NOT AtLocation 30 [w. side fissure]
NOT AtLocation 90 [s. side chasm]
NOT AtLocation 91 [n. side chasm]
PrintMessage 15 [nothing happens]
DoneWithTurn
END_COMMAND

COMMAND DROP LOG
IsCarrying 310 [log]
AtLocation 18 [e. side fissure]
SwapLocations 310 321 [log] [log bridge]
ChangePassageway 4 30 [w] [w. side fissure]
QuitThisCMD
END_COMMAND

COMMAND DROP LOG
IsCarrying 310 [log]
AtLocation 30 [w. side fissure]
SwapLocations 310 321 [log] [log bridge]
ChangePassageway 3 18 [e] [e. side fissure]
QuitThisCMD
END_COMMAND

COMMAND GET LOG
AtLocation 18 [e. side fissure]
InRoom 321 [log bridge]
LoadWeightEquals 0 [0]
GetIt 321 [log bridge]
SwapLocations 321 310 [log bridge] [log]
ChangePassageway 4 0 [w] [0]
DoneWithTurn
END_COMMAND

COMMAND GET LOG
AtLocation 30 [w. side fissure]
InRoom 321 [log bridge]
LoadWeightEquals 0 [0]
GetIt 321 [log bridge]
SwapLocations 321 310 [log bridge] [log]
ChangePassageway 3 0 [e] [0]
DoneWithTurn
END_COMMAND

COMMAND ANY
AtLocation 20
FlagOFF 10 [playing] [invader room] [ck killed]
NOT VerbIsDirection
PrintMessage 482 "Only directions or LEFT, RIGH..."
TurnFlagON 10 [ck killed]
ReDirectTo KILL ANY
END_COMMAND

COMMAND EAST
AtLocation 17 [hall of mists]
RandomVariable 2 5 [max hits]
AddToVariable 2 15 [max hits]
SetVariableTo 3 9 [base position]
SetVariableTo 1 0 [invader hits]
TurnFlagOFF 10 [ck killed]
PrintMessage 28 [locked in with invaders]
WaitForReturn
GoToRoom 20 [invader room]
ChangePassageway 0 17 [0] [hall of mists]
DoneWithTurn
END_COMMAND

COMMAND LEFT
AtLocation 20
FlagOFF 10 [playing] [invader room] [ck killed]
VariableEquals 3 1 [base position] [1]
PrintMessage 26 [edge of screen]
TurnFlagON 10 [ck killed]
ReDirectTo KILL ANY
END_COMMAND

COMMAND LEFT
AtLocation 20
FlagOFF 10 [playing] [invader room] [ck killed]
SubtractFromVariable 3 1 [base position]
PrintMessage 27 [you moved]
TurnFlagON 10 [ck killed]
ReDirectTo KILL ANY
END_COMMAND

COMMAND RIGHT
AtLocation 20
FlagOFF 10 [playing] [invader room] [ck killed]
VariableEquals 3 17 [base position] [17]
PrintMessage 26 [edge of screen]
TurnFlagON 10 [ck killed]
ReDirectTo KILL ANY
END_COMMAND

COMMAND RIGHT
AtLocation 20
FlagOFF 10 [playing] [invader room] [ck killed]
AddToVariable 3 1 [base position]
PrintMessage 27 [you moved]
TurnFlagON 10 [ck killed]
ReDirectTo KILL ANY
END_COMMAND

COMMAND FIRE
AtLocation 20
FlagOFF 10 [playing] [invader room] [ck killed]
PrintMessage 481 "ZZZAPPP!"
Chance 33
PrintMessage 480 "KERBLANG! ANOTHER GREENSKIN B..."
AddToVariable 1 1 [invader hits]
TurnFlagON 10 [ck killed]
ReDirectTo KILL ANY
END_COMMAND

COMMAND FIRE
AtLocation 20
FlagOFF 10 [playing] [invader room] [ck killed]
PrintMessage 479 "MISSED"
TurnFlagON 10 [ck killed]
ReDirectTo KILL ANY
END_COMMAND

COMMAND KILL ANY
FlagON 10 [ck killed]
NOT CompareVariables 1  2 [invader hits] [max hits]
PrintMessage 478 "CONGRATULATIONS! You have def..."
Delay 5
ClearScreen
GoToRoom 21 [dead invader room]
TurnFlagOFF 10 [ck killed]
DoneWithTurn
END_COMMAND

COMMAND KILL ANY
FlagON 10 [ck killed]
Chance 20
PrintMessage 477 "KERBLOOT! YOUR SHIP IS DESTLO..."
Delay 5
ClearScreen
PrintMessage 476 "PLAY, PLAYER 1"
TurnFlagOFF 10 [CK KILLED]
DoneWithTurn
END_COMMAND

COMMAND KILL ANY
FlagON 10 [ck killed]
TurnFlagOFF 10 [ck killed]
DoneWithTurn
END_COMMAND

COMMAND NORTH
AtLocation 20
FlagOFF 10 [playing] [invader room] [ck killed]
TurnFlagON 10 [ck killed]
ReDirectTo KILL ANY
END_COMMAND

COMMAND NORTHWEST
AtLocation 20
FlagOFF 10 [playing] [invader room] [ck killed]
TurnFlagON 10 [ck killed]
ReDirectTo KILL ANY
END_COMMAND

COMMAND NORTHEAST
AtLocation 20
FlagOFF 10 [playing] [invader room] [ck killed]
TurnFlagON 10 [ck killed]
ReDirectTo KILL ANY
END_COMMAND

COMMAND SOUTHWEST
AtLocation 20
FlagOFF 10 [playing] [invader room] [ck killed]
TurnFlagON 10 [ck killed]
ReDirectTo KILL ANY
END_COMMAND

COMMAND SOUTHEAST
AtLocation 20
FlagOFF 10 [playing] [invader room] [ck killed]
TurnFlagON 10 [ck killed]
ReDirectTo KILL ANY
END_COMMAND

COMMAND SOUTH
AtLocation 20
FlagOFF 10 [playing] [invader room] [ck killed]
TurnFlagON 10 [ck killed]
ReDirectTo KILL ANY
END_COMMAND

COMMAND DOWN
AtLocation 20
FlagOFF 10 [playing] [invader room] [ck killed]
TurnFlagON 10 [ck killed]
ReDirectTo KILL ANY
END_COMMAND

COMMAND ENTER
AtLocation 20
FlagOFF 10 [playing] [invader room] [ck killed]
TurnFlagON 10 [ck killed]
ReDirectTo KILL ANY
END_COMMAND

COMMAND EXIT
AtLocation 20
FlagOFF 10 [playing] [invader room] [ck killed]
TurnFlagON 10 [ck killed]
ReDirectTo KILL ANY
END_COMMAND

COMMAND OPEN CAN
Present 322 [can]
PrintMessage 29 [cheers mess 1]
Delay 3
PutInCurrentRoom 504 [bird]
InRoom 505 [python]
PrintMessage 30 [python mess]
Destroy 505 [python]
ChangePassageway 4 27 [w] [habitat cave]
ChangePassageway 1 23 [n] [n/s passage]
DoneWithTurn
END_COMMAND

COMMAND NORTH
AtLocation 22 [hall of mt. king]
InRoom 505 [python]
PrintMessage 31 [python won't let]
DoneWithTurn
END_COMMAND

COMMAND WEST
AtLocation 22 [hall of mt. king]
InRoom 505 [python]
PrintMessage 31 [python won't let]
DoneWithTurn
END_COMMAND

COMMAND PLUG
AtLocation 24 [y2 room]
PrintMessage 475 "BUGSY - ya wanna stay healthy..."
DoneWithTurn
END_COMMAND

COMMAND EAST
AtLocation 24 [y2 room]
PrintMessage 32 [dirty crack message]
RemoveFromGroup 500 [trixie]
QuitThisCMD
END_COMMAND

COMMAND WEST
AtLocation 25 [dirty crack]
PutInCurrentRoom 500 [TRIXIE]
AddToGroup 500 [trixie]
PrintMessage 474 "Well, I hope you enjoyed it."
QuitThisCMD
END_COMMAND

COMMAND OPEN CUPBOARD
NOUNIsClosed
IsLocated 327 326 [red key] [cupboard]
OpenIt 326 [cupboard]
PrintMessage 33 [Bad taste and a BROAD HINT!]
DescribeThing 327 [red key]
DoneWithTurn
END_COMMAND

COMMAND GET GOBLET
Present 329 [goblet]
FlagOFF 3 [parser exploded]
PrintMessage 34 [A green goblin takes the goblet]
DoneWithTurn
END_COMMAND

COMMAND EXAMINE GOBLET
Present 329 [goblet]
FlagOFF 3 [parser exploded]
ReDirectTo GET GOBLET
END_COMMAND

COMMAND GET PARSER
Present 332 [parser]
FlagOFF 3 [parser exploded]
PrintMessage 35 [A filing-clerk takes the parser]
DoneWithTurn
END_COMMAND

COMMAND EXAMINE PARSER
Present 332 [parser]
FlagOFF 3 [parser exploded]
ReDirectTo GET PARSER
END_COMMAND

COMMAND ANY
AtLocation 34 [parser cave]
FlagOFF 3 [parser exploded]
CounterEquals 5 0 [cornflakes counter]
IsLocated 331 0 [cornflakes] [void]
Chance 20
PrintMessage 36 [The troll crunches some cornflakes]
TurnCounterON 5 [cornflakes counter]
QuitThisCMD
END_COMMAND

COMMAND ANY
AtLocation 34 [parser cave]
FlagOFF 3 [parser exploded]
IsLocated 331 0 [cornflakes] [void]
CounterGT 5 2 [cornflakes counter]
PutInCurrentRoom 331 [cornflakes]
PrintMessage 473 "The troll drops a cornflakes ..."
DescribeThing 331 [cornflakes]
QuitThisCMD
END_COMMAND

COMMAND EXAMINE PACKET
ATLocation 34 [parser cave]
FlagOFF 3 [parser exploded]
Present 331 [cornflakes]
NOT Present 332 [parser]
OpenIt 331 [cornflakes]
DescribeThing 332 [parser]
QuitThisCMD
END_COMMAND

COMMAND WATER PELLET
AtLocation 34 [parser cave]
Present 348 [pellet]
Present 304 [bottle of water]
Present 332 [parser]
FlagOFF 3 [parser exploded]
TurnFlagON 3 [parser exploded]
QuitThisCMD
END_COMMAND

COMMAND WATER PELLET
Present 348 [pellet]
Present 304 [bottle of water]
NOT Present 332 [parser]
FlagOFF 3 [parser exploded]
Destroy 348 [pellet]
SwapLocations 304 303 [bottle of water] [bottle]
PrintMessage 37 [The pellet blossoms into an angular lady]
WaitForReturn
PrintMessage 38 [The inevitable happens and you fall in a pit.]
KillPlayer
DoneWithTurn
END_COMMAND

COMMAND WATER PELLET
FlagON 3 [parser exploded]
Present 332 [parser]
Destroy 348 [pellet]
SwapLocations 304 303 [bottle of water] [bottle]
PrintMessage 37 [The pellet blossoms into an angular lady]
WaitForReturn
PrintMessage 472 "B O O O O O M M M M ! ! !"
PrintMessage 39 [SOPHISTICATED PARSER overheats and explodes]
Destroy 332 [parser]
Destroy 506 [troll]
Destroy 330 [chainsaw]
DoneWithTurn
END_COMMAND

COMMAND EXAMINE BELT
FlagOFF 6 [part2]
Present 335 [utility belt]
PrintMessage 40 [Rule 137(b)]
DoneWithTurn
END_COMMAND

COMMAND PUSH BUTTON
AtLocation 38 [bat car]
PrintMessage 41 [batcar mess 1]
WaitForReturn
PrintMessage 42 [batcar mess 2]
WaitForReturn
PrintMessage 471 "The engines roar into life."
WaitForReturn
PrintMessage 43 [batcar mess 3]
Delay 30
TurnCounterON 1 [gotham city ctr]
TurnCounterOFF 2 [jester ctr]
TurnCounterOFF 3 [searchlight ctr]
TurnFlagOFF 11 [save flag]
TurnFlagOFF 13 [jester captured]
GoToRoom 39 [crossroads]
DoneWithTurn
END_COMMAND

COMMAND SAVE
AtLocationGT 38
AtLocationLT 59 [gotham city] [bat car] [to part 2]
TurnFlagON 11 [save flag]
QuitThisCMD
END_COMMAND

COMMAND ANY
AtLocation 39 [crossroads]
FlagON 11 [save flag]
CounterGT 2 25 [jester ctr] [max jester]
PrintMessage 44 [batman left]
WaitForReturn
EndGame
DoneWithTurn
END_COMMAND

COMMAND ANY
AtLocation 39 [crossroads]
FlagOFF 11 [save flag]
CounterGT 2 25 [jester ctr] [max jester]
PrintMessage 44 [batman left]
WaitForReturn
EndGame
DoneWithTurn
END_COMMAND

COMMAND ANY
AtLocation 39 [crossroads]
CounterGT 1 0 [gotham city ctr] [0]
FlagOFF 11 [save flag]
FlagON 13 [jester captured]
CounterEquals 3 15 [searchlight ctr] [max searchlight]
PrintMessage 45 [THAT MAN returns looking much relieved.]
WaitForReturn
GoToRoom 36 [bat cave]
PutInCurrentRoom 335 [utility belt]
DoneWithTurn
END_COMMAND

COMMAND ANY
AtLocation 42 [outside gallery]
OR
AtLocation 50 [outside bank]
TurnFlagON 12 [newsboy]
Chance 50
CounterLT 1 19 [gotham city ctr] [start jester]
TurnFlagOFF 12 [newsboy]
SetVariableTo 4 1 [paper counter]
PrintMessage 470 "A newsboy cries "Jester escap..."
QuitThisCMD
END_COMMAND

COMMAND ANY
FlagON 12 [newsboy]
Chance 50
CounterGT 1 19 [gotham city ctr] [start jester]
FlagOFF 13 [jester captured]
TurnFlagOFF 12 [newsboy]
SetVariableTo 4 2 [paper counter]
PrintMessage 469 "A newsboy cries "Daring robbe..."
QuitThisCMD
END_COMMAND

COMMAND ANY
FlagON 12 [newsboy]
Chance 50
CounterGT 1 19 [gotham city ctr] [start jester]
FlagON 13 [JESTER captured]
TurnFlagOFF 12 [newsboy]
SetVariableTo 4 3 [paper counter]
PrintMessage 468 "A newsboy cries "Daring robbe..."
QuitThisCMD
END_COMMAND

COMMAND ANY
FlagON (newsboy]
TurnFlagOFF 12 [newsboy]
QuitThisCMD
END_COMMAND

COMMAND get paper
Present 338 [newsboy1]
or
Present 345 [newsboy2]
PrintMessage 467 "It'll cost you a guid, guv'ner."
DoneWithTurn
END_COMMAND

COMMAND steal paper
Present 338 [newsboy1]
or
Present 345 [newsboy2]
GetNOUN
PrintMessage 46 [The newsboy doesn't act as if anything happened]
DoneWithTurn
END_COMMAND

COMMAND read paper
NOT IsCarrying 337 [newspaper]
PrintMessage 466 "You're not carrying one."
DoneWithTurn
END_COMMAND

COMMAND read paper
IsCarrying 337 [newspaper]
VariableEquals 4 2 [paper counter] [2]
PrintMessage 47 [The Jester showed up at the Art Gallery]
DoneWithTurn
END_COMMAND

COMMAND read paper
IsCarrying 337 [newspaper]
VariableEquals 4 3 [paper counter] [3]
PrintMessage 48 [The lead story is about how The Jester]
DoneWithTurn
END_COMMAND

COMMAND GET FILE
AtLocation 41 [museum]
Present 339 [nail file]
FlagOFF 13 [jester captured]
PrintMessage 49 [get arrested]
WaitForReturn
EndGame
DoneWithTurn
END_COMMAND

COMMAND GET PAINTINGS
AtLocation 43 [art gallery]
Present 341 [paintings]
FlagOFF 13 [jester captured]
PrintMessage 49 [get arrested]
WaitForReturn
EndGame
DoneWithTurn
END_COMMAND

COMMAND ANY
AtLocation 43 [art gallery]
CounterEquals 1 19 [gotham city ctr] [start jester]
FlagOFF 11 [save flag]
PutInCurrentRoom 507 [jester]
TurnCounterON 2 [jester ctr]
PrintMessage 50 [THE JESTER strips the gallery]
WaitForReturn
PrintMessage 51 [Is the worst yet to come?]
DoneWithTurn
END_COMMAND

COMMAND ANY
AtLocationGT 38
AtLocationLT 59 [gotham city] [bat car] [to part 2]
CounterGT 2 3 [jester ctr]
FlagOFF 13 [jester captured]
PrintMessage 52 [THE JESTER escapes.]
WaitForReturn
EndGame
END_COMMAND

COMMAND OPEN VALVE
Present 507 [jester]
IsCarrying 344 [canister]
TurnFlagON 13 [jester captured]
Destroy 507 [jester]
PrintMessage 53 [As the gas escapes, THAT MAN begins to laugh]
GetIt 341 [paintings]
WaitForReturn
GoToRoom 39 [crossroads]
WaitForReturn
PrintMessage 54 ["One moment," says THAT MAN.]
DoneWithTurn
END_COMMAND

COMMAND GET TIARA
AtLocation 45 [jeweler]
Present 342 [tiara]
FlagOFF 13 [jester captured]
PrintMessage 49 [get arrested]
WaitForReturn
EndGame
DoneWithTurn
END_COMMAND

COMMAND EXAMINE BUBBLES
DescribeThing 343 [speech bubbles]
IsNowhere 344 [canister]
PrintMessage 55 [You uncover something in the bubbles]
PutInCurrentRoom 344 [canister]
DescribeThing 344 [canister]
DoneWithTurn
END_COMMAND

COMMAND OPEN CANISTER
Present 344 [canister]
NOT Present 507 [jester]
PrintMessage 56 [The gas makes you giggle.]
DoneWithTurn
END_COMMAND

COMMAND PUSH VALVE
Present 344 [canister]
NOT Present 507 [jester]
ReDirectTo OPEN CANISTER
END_COMMAND

COMMAND ENTER
AtLocation 46 [outside infirmary]
GoToRoom 47 [infirmary]
WaitForReturn
PrintMessage 57 [infirmary kick]
GoToRoom 42 [outside gallery]
DoneWithTurn
END_COMMAND

COMMAND SOUTH
AtLocation 46 [outside infirmary]
ReDirectTo ENTER
END_COMMAND

COMMAND ENTER
AtLocation 48 [outside le chat noir]
GoToRoom 49 [le chat noir]
WaitForReturn
PrintMessage 58 [le chat noir kick]
GoToRoom 48 [outside le chat noir]
DoneWithTurn
END_COMMAND

COMMAND EAST
AtLocation 48 [outside le chat noir]
ReDirectTo ENTER
END_COMMAND

COMMAND ENTER
AtLocation 50 [outside bank]
GoToRoom 51 [bank]
WaitForReturn
PrintMessage 59 [bank kick]
GoToRoom 50 [outside bank]
DoneWithTurn
END_COMMAND

COMMAND NORTH
AtLocation 50 [outside bank]
ReDirectTo ENTER
END_COMMAND

COMMAND GET BOOK
Present 347 [book]
PrintMessage 60 ["Where is your ticket?"]
WaitForReturn
GoToRoom 52 [outside library]
PrintMessage 465 "Here, let me help you up."
DoneWithTurn
END_COMMAND

COMMAND EXAMINE DESKS
NOUNIsClosed
IsLocated 349 350 [box] [desks]
OpenIt 350 [desks]
DescribeThing 349 [box]
DoneWithTurn
END_COMMAND

COMMAND OPEN BOX
NOUNIsClosed
IsLocated 348 349 [pellet] [box]
OpenIt 349 [box]
DescribeThing 348 [pellet]
DoneWithTurn
END_COMMAND

COMMAND ENTER
AtLocation 55 [outside police]
GoToRoom 56 [police station]
WaitForReturn
GoToRoom 55 [outside police]
PrintMessage 464 "size ten, I'd guess."
Delay 2
PrintMessage 463 "Here, let me help you up."
DoneWithTurn
END_COMMAND

COMMAND WEST
AtLocation 55 [outside police]
ReDirectTo ENTER
END_COMMAND

COMMAND EXAMINE WALL
Present 351 [station wall]
IsNowhere 352 [ladder]
PutInCurrentRoom 352 [ladder]
DescribeThing 352 [ladder]
ChangePassageway 9 58 [u] [roof]
QuitThisCMD
END_COMMAND

COMMAND PUSH SWITCH
AtLocation 58 [roof]
CounterGT 2 0 [jester ctr]
TurnCounterON 3 [searchlight ctr]
QuitThisCMD
END_COMMAND

COMMAND turn SWITCH
AtLocation 58 [roof]
CounterGT 2 0 [jester ctr]
TurnCounterON 3 [searchlight ctr]
QuitThisCMD
END_COMMAND

COMMAND UNLOCK PILLAR
AtLocation 14 [pillar room]
IsLocked 320 [pillar]
IsCarrying 327 [red key]
ChangePassageway 10 59 [d] [to part 2]
QuitThisCMD
END_COMMAND

COMMAND LOCK PILLAR
AtLocation 14 [pillar room]
IsUnLocked 320 [pillar]
IsCarrying 327 [red key]
ChangePassageway 0 59 [0] [to part 2]
QuitThisCMD
END_COMMAND

COMMAND DOWN
AtLocation  14 [pillar room]
Present 500 [Trixie]
RemoveFromGroup 500 [Trixie]
QuitThisCMD
END_COMMAND

COMMAND UP
AtLocation 59 [to part 2]
NOT Present 500 [trixie]
PutInCurrentRoom 500 [trixie]
AddToGroup 500 [Trixie]
QuitThisCMD
END_COMMAND

COMMAND UP
AtLocation 59 [to part 2]
Present 500 [Trixie]
AddToGroup 500 [Trixie]
QuitThisCMD
END_COMMAND

COMMAND SAVE
AtLocation 60 [large cavern 5]
TurnFlagON 6 [part2]
GoToRoom 61 [large cavern 2]
QuitThisCMD
END_COMMAND

COMMAND ANY
AtLocation 60 [large cavern 5]
VerbIsDirection
PrintMessage 462 "I said the directions will no..."
DoneWithTurn
END_COMMAND

COMMAND ANY
AtLocation 64 [stalac. cavern]
VariableEquals 8 0 [horror] [0]
Chance 15
AddToVariable 8 1 [horror]
RandomVariable 7 5 [horror max1]
AddToVariable 7 5 [horror max1]
AddToVariable 9 5 [horror max2]
AddVariables 9 7 [horror max2] [horror max1]
QuitThisCMD
END_COMMAND

COMMAND ANY
AtLocation 64 [stalac. cavern]
VariableGT 8 0 [horror]
AddToVariable 8 1 [horror]
NOT CompareVariables 8  7 [horror] [horror max1]
PrintMessage 61 [A drip falls on your hand.]
PutInCurrentRoom 357 [drip]
QuitThisCMD
END_COMMAND

COMMAND TASTE DRIP
ReDirectTo EXAMINE DRIP
QuitThisCMD
END_COMMAND

COMMAND ANY
AtLocation 64 [stalac. cavern]
VariableGT 8 0 [horror]
NOT CompareVariables 8  9 [horror] [horror max2]
PrintMessage 62 [The razor-spiked ceiling of the cave is descending]
WaitForReturn
PrintMessage 63 [Alright!  Break it up!]
WaitForReturn
PrintMessage 64 [Let's take it from the top.]
WaitForReturn
PutInCurrentRoom 500 [Trixie]
AddToGroup 500 [Trixie]
GoToRoom 65 [large cavern 3]
SetVariableTo 12 0 [small]
PrintMessage 65 [A large white rabbit appears]
DoneWithTurn
END_COMMAND

COMMAND WEST
AtLocation 65 [large cavern 3]
SetVariableTo 8 0 [horror]
QuitThisCMD
END_COMMAND

COMMAND examine curtain
AtLocation 66 [long low hall]
AddToVariable 10 1 [curtain counter]
VariableEquals 10 2 [curtain counter] [2]
PrintMessage 461 "This time around you discover..."
DoneWithTurn
END_COMMAND

COMMAND examine curtain
AtLocation 66 [long low hall]
VariableEquals 10 8 [curtain counter] [8]
PutInCurrentRoom 359 [glass table]
PutInCurrentRoom 360 [chain]
PrintMessage 66 [You come upon a little three-legged table]
DoneWithTurn
END_COMMAND

COMMAND get table
Present 359 [glass table]
Present 360 [chain]
PrintMessage 67 [It is chained to the wall.]
DoneWithTurn
END_COMMAND

COMMAND EXAMINE table
Present 359 [glass table]
AddToVariable 11 1 [table counter]
VariableEquals 11 1 [table counter] [1]
PutInCurrentRoom 361 [tiny key]
DescribeThing 361 [tiny key]
DoneWithTurn
END_COMMAND

COMMAND EXAMINE table
Present 359 [glass table]
VariableEquals 11 2 [table counter] [2]
PutInCurrentRoom 362 [crystal decanter]
LookAtRoom
DoneWithTurn
END_COMMAND

COMMAND examine table
Present 359 [glass table]
VariableEquals 11 3 [table counter] [3]
PutInCurrentRoom 364 [kid glove]
DescribeThing 364 [kid glove]
DoneWithTurn
END_COMMAND

COMMAND unlock door
ReDirectTo open  door
QuitThisCMD
END_COMMAND

COMMAND open door
IsCarrying 361 [tiny key]
NounIsNumber 375 [little door]
OpenIt 375 [little door]
PrintMessage 68 [The door opens into a small passage]
ChangePassageway 1 67 [N] [earthen passage]
DoneWithTurn
END_COMMAND

COMMAND north
AtLocation 66 [long low hall]
IsOpen 375 [little door]
NOT Present 363 [empty decanter]
PrintMessage 460 "You can't get thru that littl..."
DoneWithTurn
END_COMMAND

COMMAND dial file
Present 335 [utility belt]
IsLocated 376 0 [small file] [void]
PrintMessage 69 [pod pops open]
WaitForReturn
PutInCurrentRoom 376 [small file]
DescribeThing 376 [small file]
DoneWithTurn
END_COMMAND

COMMAND cut chain
Present 360 [chain]
IsCarrying 376 [small file]
IsWearing 364 [kid glove]
Destroy 360 [chain]
PrintMessage 70 [ok]
DoneWithTurn
END_COMMAND

COMMAND cut chain
Present 360 [chain]
IsCarrying 376 [small file]
NOT IsWearing 364 [kid glove]
TurnCounterON 6 [cut hand]
PrintMessage 71 [You seem to have cut your hand.]
Destroy 360 [chain]
DoneWithTurn
END_COMMAND

COMMAND any
CounterGT 6 0 [cut hand]
CounterEquals 6 8 [cut hand]
PrintMessage 459 "You have lost a LOT of blood."
QuitThisCMD
END_COMMAND

COMMAND any
CounterGT 6 0 [cut hand]
CounterEquals 6 11 [cut hand]
PrintMessage 458 "You pass out from loss of blo..."
KillPlayer
DoneWithTurn
END_COMMAND

COMMAND drink liquid
Present 362 [crystal decanter]
SwapLocations 362 363 [crystal decanter] [empty decanter]
AddToVariable 12  01 [small]
RandomVariable 13 10 [small max] [10]
AddToVariable 13 15 [small max] [15]
PrintMessage 72 [You are now about twelve inches high.]
DoneWithTurn
END_COMMAND

COMMAND any
VariableGT 12 0 [small]
Chance 30
WaitForReturn
RandomMessage 73 76 [rabbit desc 1] [rabbit desc 4]
QuitThisCMD
END_COMMAND

COMMAND any
VariableGT 12 0 [small]
Chance 30
PrintMessage 457 "You fall over..."
QuitThisCMD
END_COMMAND

COMMAND get rabbit
VariableGT 12 0 [small]
PrintMessage 77 [The rabbit easily eludes your reeling grasp]
WaitForReturn
DoneWithTurn
END_COMMAND

COMMAND examine rabbit
VariableGT 12 0 [small]
PrintMessage 78 [It looks very big for a rabbit]
DoneWithTurn
END_COMMAND

COMMAND any
VariableGT 12 0 [small]
AddToVariable 12 1 [small]
NOT CompareVariables 12 13 [small] [small max]
Chance 20
SetVariableTo 12 0 [small]
RandomMessage 73 76 [rabbit desc 1] [rabbit desc 4]
WaitForReturn
PrintMessage 79 [Let an expert take over.]
WaitForReturn
PrintMessage 80 [Just as I thought.]
WaitForReturn
GoToRoom 70 [large cavern 4]
DoneWithTurn
END_COMMAND

COMMAND north
AtLocation 73 [mattress]
Chance 30
GoToRoom 71 [dusty rock room]
DoneWithTurn
END_COMMAND

COMMAND north
AtLocation 73 [mattress]
Chance 50
GoToRoom 74 [large low room]
DoneWithTurn
END_COMMAND

COMMAND north
AtLocation 73 [mattress]
PrintMessage 81 [crawl around]
WaitForReturn
LookAtRoom
DoneWithTurn
END_COMMAND

COMMAND south
AtLocation 73 [mattress]
Chance 30
GoToRoom 71 [dusty rock room]
DoneWithTurn
END_COMMAND

COMMAND south
AtLocation 73 [mattress]
Chance 50
GoToRoom 74 [large low room]
DoneWithTurn
END_COMMAND

COMMAND south
AtLocation 73 [mattress]
PrintMessage 81 [crawl around]
WaitForReturn
LookAtRoom
DoneWithTurn
END_COMMAND

COMMAND up
AtLocation 73 [mattress]
Chance 30
GoToRoom 71 [dusty rock room]
DoneWithTurn
END_COMMAND

COMMAND up
AtLocation 73 [mattress]
Chance 50
GoToRoom 74 [large low room]
DoneWithTurn
END_COMMAND

COMMAND up
AtLocation 73 [mattress]
PrintMessage 81 [crawl around]
WaitForReturn
LookAtRoom
DoneWithTurn
END_COMMAND

COMMAND down
AtLocation 73 [mattress]
Chance 30
GoToRoom 71 [dusty rock room]
DoneWithTurn
END_COMMAND

COMMAND down
AtLocation 73 [mattress]
Chance 50
GoToRoom 74 [large low room]
DoneWithTurn
END_COMMAND

COMMAND down
AtLocation 73 [mattress]
PrintMessage 81 [crawl around]
WaitForReturn
LookAtRoom
DoneWithTurn
END_COMMAND

COMMAND any
AtLocationGT 70 [large cavern 4]
NOT Present 381 [parrot]
Chance 5
SetVariableTo 14 6 [parrot variable]
PrintMessage 82 [A parrot squacks "Pieces of product!"]
PutInCurrentRoom 381 [parrot]
QuitThisCMD
END_COMMAND

COMMAND any
VariableGT 14 0 [parrot variable]
SubtractFromVariable 14 1 [parrot variable]
VariableEquals 14 0 [parrot variable] [0]
Destroy 381 [parrot]
PrintMessage 456 "The parrot flew out of the ro..."
QuitThisCMD
END_COMMAND

COMMAND get parrot
Present 381 [parrot]
PrintMessage 83 [The parrot squacks some nautical bad language]
DoneWithTurn
END_COMMAND

COMMAND drop vase
IsCarrying 382 [ming vase]
PrintMessage 84 [You drop the vase carelessly to the floor.]
QuitThisCMD
END_COMMAND

COMMAND eat cheese
AtLocation 77 [french cheese room]
PrintMessage 85 [I wouldn't if I were you.]
DoneWithTurn
END_COMMAND

COMMAND drop plate
AtLocation 79 [large passage]
IsCarrying 385 [broken plate]
SendToRoom 385 77 [broken plate] [french cheese room]
OpenIt 386 [large gate]
PrintMessage 70 [ok]
DoneWithTurn
END_COMMAND

COMMAND open gate
AtLocation 79 [large passage]
IsCarrying 385 [broken plate]
SendToRoom 385 77 [broken plate] [french cheese room]
OpenIt 386 [large gate]
DoneWithTurn
END_COMMAND

COMMAND east
AtLocation 79 [large passage]
IsOpen 386 [large gate]
PrintMessage 455 "Okay honey, you asked for it"
Delay 3
PrintMessage 454 "Now you're going to get it"
Delay 3
ClearScreen
PrintMessage 86 [SPLOTT!!!]
WaitForReturn
GoToRoom 80 [building site]
DoneWithTurn
END_COMMAND

COMMAND water plant
Present 304 [bottle of water]
Present 389 [tiny weed]
SwapLocations 304 303 [bottle of water] [bottle]
SwapLocations 389 390 [tiny weed] [big weed]
DescribeThing 390 [big weed]
DoneWithTurn
END_COMMAND

COMMAND water plant
Present 304 [bottle of water]
Present 390 [big weed]
SwapLocations 304 303 [bottle of water] [bottle]
SwapLocations 390 391 [big weed] [triffid]
DescribeThing 391 [triffid]
DoneWithTurn
END_COMMAND

COMMAND climb triffid
Present 391 [triffid]
PrintMessage 87 [You climb into the waiting maw of the triffid]
KillPlayer
DoneWithTurn
END_COMMAND

COMMAND climb triffid
Present 392 [dead triffid]
GoToRoom 85 [long narrow passage]
DoneWithTurn
END_COMMAND

COMMAND dial weedkiller
Present 335 [utility belt]
Present 391 [triffid]
PrintMessage 69 [pod pops open]
WaitForReturn
PrintMessage 88 [weedkiller message]
WaitForReturn
PrintMessage 453 "...however, it makes the plan..."
SwapLocations 391 392 [triffid] [dead triffid]
DescribeThing 392 [dead triffid]
DoneWithTurn
END_COMMAND

COMMAND dial weedkiller
Present 335 [utility belt]
PrintMessage 69 [pod pops open]
WaitForReturn
PrintMessage 88 [weedkiller message]
DoneWithTurn
END_COMMAND

COMMAND dial sledgehammer
Present 335 [utility belt]
IsLocated 395 0 [dehydrated sledgehammer] [void]
IsLocated 396 0 [sledgehammer] [void]
IsLocated 400 0 [sledgehammer pieces] [void]
IsLocated 399 0 [powdered sledgehammer] [void]
PrintMessage 69 [pod pops open]
WaitForReturn
PutInCurrentRoom 395 [dehydrated sledgehammer]
LookAtRoom
DoneWithTurn
END_COMMAND

COMMAND water sledgehammer
Present 304 [bottle of water]
Present 395 [dehydrated sledgehammer]
SwapLocations 395 396 [dehydrated sledgehammer] [sledgehammer]
DescribeThing 396 [sledgehammer]
DoneWithTurn
END_COMMAND

COMMAND water sledgehammer
Present 304 [bottle of water]
Present 399 [powdered sledgehammer]
SwapLocations 399 400 [powdered sledgehammer] [sledgehammer pieces]
LookAtRoom
DoneWithTurn
END_COMMAND

COMMAND hit door
Present 394 [oaken door]
Present 396 [sledgehammer]
SwapLocations 394 397 [oaken door] [battered door]
DescribeThing 397 [battered door]
DoneWithTurn
END_COMMAND

COMMAND hit door
Present 397 [battered door]
Present 396 [sledgehammer]
SwapLocations 398 397 [broken door] [battered door]
DescribeThing 398 [broken door]
ChangePassageway 1 88 [n] [magnificant cavern]
DoneWithTurn
END_COMMAND

COMMAND hit door
Present 394 [oaken door]
Present 395 [dehydrated sledgehammer]
PrintMessage 89 [The sledgehammer turns into a fine powder]
SwapLocations 395 399 [dehydrated sledgehammer] [powdered sledgehammer]
DropIt 399 [powdered sledgehammer]
LookAtRoom
DoneWithTurn
END_COMMAND

COMMAND wave rod
AtLocation 90 [s. side chasm]
NOT Present 402 [rickety bridge]
NOT Present 403 [bony bridge]
Present 316 [black rod]
PutInCurrentRoom 403 [bony bridge]
LookAtRoom
ChangePassageway 1 91 [n] [n. side chasm]
DoneWithTurn
END_COMMAND

COMMAND wave rod
AtLocation 90 [s. side chasm]
Present 403 [bony bridge]
Present 316 [black rod]
Destroy 403 [bony bridge]
PrintMessage 90 [bridge vanished]
ChangePassageway 0 91 [0] [n. side chasm]
DoneWithTurn
END_COMMAND

COMMAND wave rod
AtLocation 91 [n. side chasm]
NOT Present 402 [rickety bridge]
NOT Present 403 [bony bridge]
Present 316 [black rod]
PutInCurrentRoom 403 [bony bridge]
LookAtRoom
ChangePassageway 2 90 [s] [s. side chasm]
DoneWithTurn
END_COMMAND

COMMAND wave rod
AtLocation 91 [n. side chasm]
Present 403 [bony bridge]
Present 316 [black rod]
Destroy 403 [bony bridge]
PrintMessage 90 [bridge vanished]
ChangePassageway 0 90 [0] [s. side chasm]
DoneWithTurn
END_COMMAND

COMMAND any
AtLocation 90 [s. side chasm]
FlagON 2 [figure went boom]
PrintMessage 91 [The hairy figure has been blown to kingdom come]
Destroy 402 [rickety bridge]
Destroy 509 [hairy figure]
TurnFlagOFF 2 [figure went boom]
QuitThisCMD
END_COMMAND

COMMAND throw any
Present 509 [hairy figure]
NOUNIsNumber 393 [record]
Chance 50
Destroy 393 [record]
TurnFlagON 1 [good side of record]
PrintMessage 452 "Oh, wow, like I mean Zarjaz, ..."
DoneWithTurn
END_COMMAND

COMMAND throw any
Present 509 [hairy figure]
NOUNIsNumber 393 [record]
PrintMessage 92 [He throws it back to you.]
DoneWithTurn
END_COMMAND

COMMAND throw any
Present 509 [hairy figure]
NOUNpointsGT 0
DestroyNOUN
PrintMessage 93 [Hey, man, that's a neat thing.]
DoneWithTurn
END_COMMAND

COMMAND fee
AddToVariable 15 1 [boom counter]
NOT VariableEquals 15 4 [boom counter] [4]
PrintMessage 451 "Nothing happens"
DoneWithTurn
END_COMMAND

COMMAND foo
VariableEquals 15 4 [boom counter] [4]
Present 393 [record]
PrintMessage 94 [ka foom]
WaitForReturn
PrintMessage 450 "The record explodes, taking y..."
KillPlayer
SetVariableTo 15 0 [boom counter]
DoneWithTurn
END_COMMAND

COMMAND foo
VariableEquals 15 4 [boom counter] [4]
FlagON 1 [good side of record]
PrintMessage 94 [ka foom]
TurnFlagOFF 1 [good side of record]
TurnFlagON 2 [figure went boom]
Destroy 402 [rickety bridge]
Destroy 509 [hairy figure]
SetVariableTo 15 0 [boom counter]
DoneWithTurn
END_COMMAND

COMMAND foo
VariableEquals 15 4 [boom counter] [4]
IsSomewhere 393 [record]
PrintMessage 94 [ka foom]
Destroy 393 [record]
SetVariableTo 15 0 [boom counter]
DoneWithTurn
END_COMMAND

COMMAND foo
VariableEquals 15 4 [boom counter] [4]
PrintMessage 15 [nothing happens]
SetVariableTo 15 0 [boom counter]
DoneWithTurn
END_COMMAND

COMMAND any
AtLocation 95 [vast chamber]
VerbIsDirection
FlagON 14 [burp]
TurnFlagOFF 14 [burp]
QuitThisCMD
END_COMMAND

COMMAND any
AtLocation 95 [vast chamber]
FlagOFF 14 [burp]
Chance 25
TurnFlagON 14 [burp]
WaitForReturn
PrintMessage 95 [An awesome belch shakes the massive cavern]
QuitThisCMD
END_COMMAND

COMMAND dial bicarbonate
FlagOFF 14 [burp]
PrintMessage 449 "The belt whirrs and clicks bu..."
DoneWithTurn
END_COMMAND

COMMAND dial bicarbonate
AtLocation 95 [vast chamber]
FlagON 14 [burp]
PrintMessage 69 [pod pops open]
WaitForReturn
PutInCurrentRoom 405 [bicarbonate]
DescribeThing 405 [bicarbonate]
WaitForReturn
PrintMessage 96 [He throws you a small glittering object]
WaitForReturn
Destroy 405 [bicarbonate]
PutInCurrentRoom 406 [snuff box]
LookAtRoom
DoneWithTurn
END_COMMAND

COMMAND open clam
Present 408 [clam]
IsCarrying 407 [jemmy]
SwapLocations 408 409 [clam] [oyster]
ChangePassageway 10 98 [d] [pirate's hall]
PutInCurrentRoom 410 [pearl]
PrintMessage 97 [You jemmy the clam like a professional.]
DoneWithTurn
END_COMMAND

COMMAND give food to pirate
Present 510 [pirate]
Present 302 [food]
Destroy 302 [food]
SwapLocations 510 411 [pirate] [dead pirate]
PrintMessage 98 [The pirate eats the food greedily]
DoneWithTurn
END_COMMAND

COMMAND get chest
Present 412 [treasure chest]
Present 510 [pirate]
PrintMessage 448 "The pirate won't let you."
DoneWithTurn
END_COMMAND

COMMAND any
AtLocation 98 [pirate's hall]
Present 510 [pirate]
Chance 67
PrintMessage 447 "The pirate says: Yo ho ho!"
QuitThisCMD
END_COMMAND

COMMAND get chain
Present 413 [golden chain]
Present 511 [wombat]
PrintMessage 446 "I wouldn't try it. Looks as i..."
DoneWithTurn
END_COMMAND

COMMAND any
Present 511 [wombat]
Chance 40
WaitForReturn
PrintMessage 99 [The wombat hollers "WOMBAT HO!"]
QuitThisCMD
END_COMMAND

COMMAND open chest
Present 511 [wombat]
Present 412 [treasure chest]
Destroy 511 [wombat]
PrintMessage 100 [A ferret massacres the wombat]
DoneWithTurn
END_COMMAND

COMMAND open chest
Present 412 [treasure chest]
PrintMessage 101 [A blue-nosed ferret attacks you]
KillPlayer
DoneWithTurn
END_COMMAND

COMMAND east
AtLocation 103 [alcove]
IsCarryingSomething
NOT IsCarrying 417 [brick]
PrintMessage 445 "Something you are carrying wi..."
DoneWithTurn
END_COMMAND

COMMAND west
AtLocation 104 [eerie chamber]
IsCarryingSomething
NOT IsCarrying 417 [brick]
PrintMessage 444 "Something you are carrying wi..."
DoneWithTurn
END_COMMAND

COMMAND northeast
AtLocation 104 [eerie chamber]
IsCarrying 306 [lamp]
GoToRoom 105 [dark room]
LookAtRoom
WaitForReturn
GoToRoom 104 [eerie chamber]
PutInCurrentRoom 417 [brick]
PrintMessage 443 "A hard, heavy object bounces ..."
LookAtRoom
DoneWithTurn
END_COMMAND

COMMAND SANDPAPER
AtLocation 104 [eerie chamber]
NOT IsCarrying 417 [brick]
PrintMessage 14 [move magically]
GoToRoom 75 [dead end]
DoneWithTurn
END_COMMAND

COMMAND SANDPAPER
AtLocation 104 [eerie chamber]
IsCarrying 417 [brick]
DropIt 417 [brick]
PrintMessage 14 [move magically]
GoToRoom 75 [dead end]
DoneWithTurn
END_COMMAND

COMMAND SANDPAPER
AtLocation 75 [dead end]
PrintMessage 14 [move magically]
GoToRoom 104 [eerie chamber]
DoneWithTurn
END_COMMAND

COMMAND varnish dresser
Present 418 [horrible dresser]
Present 414 [varnish kit]
Destroy 414 [varnish kit]
SwapLocations 418 419 [horrible dresser] [pretty dresser]
PrintMessage 102 [You carefully stain annd varnish the dresser]
LookAtRoom
DoneWithTurn
END_COMMAND

COMMAND drop vase
IsCarrying 382 [ming vase]
Present 420 [soft cushion]
Destroy 382 [ming vase]
PrintMessage 103 [You drop the ming vase]
DoneWithTurn
END_COMMAND

COMMAND any
AtLocation 7 [wellie house]
ScoreEquals 250
NOT IsCarryingTreasure 1
WaitForReturn
WaitForReturn
PrintMessage 104 [Maximum score message]
WaitForReturn
PrintMessage 442 "Suddenly a burly policeman ar..."
WaitForReturn
PrintMessage 441 "The Fence disappears."
WaitForReturn
PrintMessage 105 ["Many thanks, Miss Trinian"]
WaitForReturn
PrintMessage 106 [You have won the game.]
WinGame
DoneWithTurn
END_COMMAND

COMMAND examine any
AtLocation 109 [magnificent view?]
PrintMessage 107 [You stumble over a rock]
WaitForReturn
PrintMessage 108 [What a disappointment.]
DoneWithTurn
END_COMMAND

